package org.pada.client.exception;

/**
 * @author pengshen
 * @date 2022.03.22 8:51 下午
 */
public class SystemException extends BaseException {

    public SystemException(String errMessage) {
        super(SystemErrorCode.UN_DEFINE_ERR.getErrCode(), errMessage);
    }

    public SystemException(String errCode, String errMessage) {
        super(errCode, errMessage);
    }

    public SystemException(String errMessage, Throwable e) {
        super(SystemErrorCode.UN_DEFINE_ERR.getErrCode(), errMessage, e);
    }

    public SystemException(String errorCode, String errMessage, Throwable e) {
        super(errorCode, errMessage, e);
    }

    public SystemException(SystemErrorCode errorCode) {
        super(errorCode);
    }

    public SystemException(SystemErrorCode errorCode, Throwable e) {
        super(errorCode, e);
    }

}
